package com.bw.servies;

import com.bw.dao.ShopDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ShopImpl implements ShopService{

    //注入持久层
    @Autowired
    ShopDao shopDao;

    @Override
    public List<Map> findZong() {
        return shopDao.findZong();
    }

    @Override
    public List<Map> findPer(String nowDate) {
        return shopDao.findPer(nowDate);
    }

    @Override
    public List<Map> findPrivince() {
        return shopDao.findPrivince();
    }

    @Override
    public List<Map> showAll(String status) {
        return shopDao.showAll(status);
    }

    @Override
    public List<Map> findCount() {
        return shopDao.findCount();
    }

    @Override
    public List<Map> findTotal(String name) {
        return shopDao.findTotal(name);
    }
}
